

<div class="layui-form" lay-filter="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
  <div class="layui-form-item">
    <label class="layui-form-label">用户名称</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="userName" value="{{ d.params.userName || '' }}" placeholder="用户名称" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">用户账号</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="userCode" value="{{ d.params.userCode || '' }}" placeholder="用户账号" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">账号密码</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="password" value="{{ d.params.password || '' }}" placeholder="账号密码" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" value="确认" class="layui-btn">
    </div>
  </div>
</div>

<script>
layui.use(['admin', 'form'], function(){
  var $ = layui.$
  ,form = layui.form;

})
</script>